<template>
  <div>
    <h2>{{ message }}</h2>
    <button @click="btnClick">按钮</button>
  </div>
</template>

<script>
import { demoMixin } from "./mixin/demoMixin";
export default {
  mixins: [demoMixin],
  data() {
    return {
      title: "pegnfan",
    };
  },
  methods: {
    btnClick() {
      this.foo();
    },
  }
};
</script>

<style scoped>
</style>